<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>约会灵感推荐</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #fef8f8;
            color: #2d3748;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1000px;
        }
        
        .page-title {
            text-align: center;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #fecaca;
        }
        
        .page-title h1 {
            color: #d946ef;
        }
        
        .section-heading {
            font-weight: 700;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #d946ef;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #4a5568;
        }
        
        .section-description {
            color: #718096;
            margin-bottom: 1.5rem;
        }
        
        /* 约会推荐卡片通用样式 */
        .date-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .date-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.1);
        }
        
        /* 约会类型标签 */
        .date-type {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-right: 0.5rem;
        }
        
        .type-romantic {
            background-color: #fce8ff;
            color: #9333ea;
        }
        
        .type-casual {
            background-color: #e6fffa;
            color: #0d9488;
        }
        
        .type-adventure {
            background-color: #fff7ed;
            color: #c2410c;
        }
        
        .type-cultural {
            background-color: #eff6ff;
            color: #1e40af;
        }
        
        /* 卡片头部信息 */
        .date-header {
            padding: 1rem 1.25rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            border-bottom: 1px solid #f7fafc;
        }
        
        .date-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .date-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f3e8ff;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #9333ea;
            flex-shrink: 0;
        }
        
        .date-meta-info {
            font-size: 0.875rem;
        }
        
        .date-season {
            font-weight: 600;
            color: #2d3748;
        }
        
        /* 约会时间与预算 */
        .date-details {
            background-color: #f7fafc;
            border-radius: 6px;
            padding: 0.5rem;
            text-align: center;
            font-size: 0.875rem;
            min-width: 100px;
        }
        
        .date-duration {
            color: #9333ea;
            font-weight: 600;
        }
        
        .date-budget {
            font-size: 0.75rem;
            color: #718096;
            margin-top: 0.25rem;
        }
        
        /* 约会内容区域 */
        .date-body {
            padding: 1.25rem;
        }
        
        .date-title {
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }
        
        .date-title a {
            color: #2d3748;
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .date-title a:hover {
            color: #d946ef;
        }
        
        .date-description {
            color: #718096;
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .date-highlights {
            margin-bottom: 1rem;
        }
        
        .highlight-item {
            display: inline-block;
            background-color: #f7fafc;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8125rem;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            color: #4a5568;
        }
        
        /* 约会图片样式 */
        .date-images {
            margin-bottom: 1rem;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .single-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .multiple-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 3px;
        }
        
        .multiple-images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .multiple-images.two-images img:first-child {
            grid-row: span 2;
        }
        
        .multiple-images.three-images img:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }
        
        .multiple-images.four-images {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        
        /* 约会细节信息 */
        .date-features {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.875rem;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #718096;
        }
        
        .feature-item i {
            color: #d946ef;
            width: 16px;
        }
        
        /* 互动区域 */
        .date-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.25rem;
            border-top: 1px solid #f7fafc;
        }
        
        .action-counts {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            font-size: 0.875rem;
            color: #718096;
        }
        
        .count-item {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .action-buttons {
            display: flex;
            gap: 0.75rem;
        }
        
        .btn {
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }
        
        .btn-primary {
            background-color: #d946ef;
            color: white;
            border: none;
        }
        
        .btn-primary:hover {
            background-color: #a855f7;
        }
        
        .btn-outline {
            background-color: transparent;
            color: #d946ef;
            border: 1px solid #d946ef;
        }
        
        .btn-outline:hover {
            background-color: #f3e8ff;
        }
        
        /* 列表视图样式 */
        .list-view .date-card {
            display: flex;
            height: 240px;
        }
        
        .list-view .date-images {
            flex: 0 0 240px;
            margin-bottom: 0;
            border-radius: 12px 0 0 12px;
        }
        
        .list-view .date-images img {
            height: 100%;
            object-fit: cover;
        }
        
        .list-view .date-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .list-view .date-body {
            flex: 1;
            overflow: hidden;
        }
        
        .list-view .date-description {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 网格视图样式 */
        .grid-view {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .grid-view .date-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .grid-view .date-images {
            height: 200px;
        }
        
        .grid-view .date-images img {
            height: 100%;
            object-fit: cover;
        }
        
        .grid-view .date-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .grid-view .date-description {
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 无图片约会样式 */
        .no-image .date-body {
            padding-top: 0;
        }
        
        /* 视图切换控件 */
        .view-controls {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1.5rem;
            gap: 0.5rem;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid #fecaca;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            color: #718096;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #d946ef;
            color: white;
            border-color: #d946ef;
        }
        
        .view-btn:hover:not(.active) {
            background-color: #f3e8ff;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .grid-view {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .list-view .date-card {
                flex-direction: column;
                height: auto;
            }
            
            .list-view .date-images {
                flex: none;
                height: 200px;
                border-radius: 12px 12px 0 0;
            }
            
            .date-features {
                gap: 0.75rem;
            }
            
            .action-buttons {
                gap: 0.5rem;
            }
            
            .btn {
                padding: 0.5rem 1rem;
                font-size: 0.8125rem;
            }
        }
        
        @media (max-width: 576px) {
            .grid-view {
                grid-template-columns: 1fr;
            }
            
            .date-header {
                flex-direction: column;
                gap: 1rem;
            }
            
            .date-details {
                align-self: flex-start;
            }
            
            .date-actions {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }
            
            .action-counts {
                width: 100%;
                justify-content: space-around;
            }
            
            .action-buttons {
                width: 100%;
                justify-content: space-between;
            }
            
            .btn {
                flex: 1;
                text-align: center;
            }
            
            .multiple-images {
                grid-gap: 2px;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面标题 -->
        <div class="page-title">
            <h1 class="display-5 mb-2">约会灵感推荐</h1>
            <p class="text-muted">为你精选各种风格的约会方案，创造难忘时光</p>
        </div>
        
        <!-- 浪漫约会 - 网格视图 -->
        <section>
            <h2 class="section-heading">
                <i class="fas fa-heart"></i> 浪漫约会
            </h2>
            <p class="section-description">适合追求浪漫氛围的情侣，创造甜蜜回忆</p>
            
            <!-- 视图切换 -->
            <div class="view-controls">
                <button class="view-btn active" id="grid-view-btn">
                    <i class="fas fa-th"></i> 网格视图
                </button>
                <button class="view-btn" id="list-view-btn">
                    <i class="fas fa-list"></i> 列表视图
                </button>
            </div>
            
            <div class="dates-container grid-view" id="dates-container">
                <!-- 带单张图片的约会 -->
                <div class="date-card">
                    <div class="date-images">
                        <div class="single-image">
                            <img src="https://picsum.photos/600/400?random=50" alt="烛光晚餐场景">
                        </div>
                    </div>
                    
                    <div class="date-content">
                        <div class="date-header">
                            <div class="date-meta">
                                <div class="date-icon">
                                    <i class="fas fa-utensils"></i>
                                </div>
                                <div class="date-meta-info">
                                    推荐场景: <span class="date-season">晚餐约会</span>
                                </div>
                            </div>
                            
                            <div class="date-details">
                                <div class="date-duration">2-3小时</div>
                                <div class="date-budget">¥300-600</div>
                            </div>
                        </div>
                        
                        <div class="date-body">
                            <div class="date-title">
                                <a href="#">
                                    <span class="date-type type-romantic">浪漫</span>
                                    江边烛光晚餐体验
                                </a>
                            </div>
                            
                            <p class="date-description">
                                位于江边的露台餐厅，提供精致法式料理，伴着江景和烛光，享受二人世界。提前预订可安排专属座位和定制菜单，餐后还可在江边散步，欣赏城市夜景。
                            </p>
                            
                            <div class="date-highlights">
                                <span class="highlight-item">江景露台</span>
                                <span class="highlight-item">定制菜单</span>
                                <span class="highlight-item">夜景漫步</span>
                            </div>
                            
                            <div class="date-features">
                                <div class="feature-item">
                                    <i class="fas fa-map-marker-alt"></i>
                                    <span>滨江大道128号</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-clock"></i>
                                    <span>18:00 - 22:00</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-star"></i>
                                    <span>4.8分 (236评价)</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="date-actions">
                            <div class="action-counts">
                                <div class="count-item">
                                    <i class="fas fa-check-circle"></i>
                                    <span>528人尝试</span>
                                </div>
                                <div class="count-item">
                                    <i class="far fa-heart"></i>
                                    <span>1256收藏</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary">保存方案</button>
                                <button class="btn btn-outline">分享</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 带多张图片的约会 -->
                <div class="date-card">
                    <div class="date-images">
                        <div class="multiple-images two-images">
                            <img src="https://picsum.photos/600/800?random=51" alt="星空露营夜景"">
                            <img src="https://picsum.photos/600/400?random=52" alt="露营早餐">
                        </div>
                    </div>
                    
                    <div class="date-content">
                        <div class="date-header">
                            <div class="date-meta">
                                <div class="date-icon">
                                    <i class="fas fa-campground"></i>
                                </div>
                                <div class="date-meta-info">
                                    推荐场景: <span class="date-season">户外体验</span>
                                </div>
                            </div>
                            
                            <div class="date-details">
                                <div class="date-duration">1天1夜</div>
                                <div class="date-budget">¥800-1200</div>
                            </div>
                        </div>
                        
                        <div class="date-body">
                            <div class="date-title">
                                <a href="#">
                                    <span class="date-type type-romantic">浪漫</span>
                                    <span class="date-type type-adventure">冒险</span>
                                    星空露营约会
                                </a>
                            </div>
                            
                            <p class="date-description">
                                远离城市喧嚣，在山顶露营地共度浪漫夜晚。白天可一起徒步欣赏风景，傍晚看日落，夜晚围着篝火聊天，仰望星空。营地提供豪华帐篷和舒适睡袋，还有浪漫早餐送到帐篷。
                            </p>
                            
                            <div class="date-highlights">
                                <span class="highlight-item">山顶日落</span>
                                <span class="highlight-item">篝火晚会</span>
                                <span class="highlight-item">星空观测</span>
                            </div>
                            
                            <div class="date-features">
                                <div class="feature-item">
                                    <i class="fas fa-map-marker-alt"></i>
                                    <span>青山湖露营基地</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-sun"></i>
                                    <span>周末最佳</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-star"></i>
                                    <span>4.9分 (189评价)</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="date-actions">
                            <div class="action-counts">
                                <div class="count-item">
                                    <i class="fas fa-check-circle"></i>
                                    <span>312人尝试</span>
                                </div>
                                <div class="count-item">
                                    <i class="far fa-heart"></i>
                                    <span>987收藏</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary">保存方案</button>
                                <button class="btn btn-outline">分享</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 无图片的约会 -->
                <div class="date-card no-image">
                    <div class="date-content">
                        <div class="date-header">
                            <div class="date-meta">
                                <div class="date-icon">
                                    <i class="fas fa-music"></i>
                                </div>
                                <div class="date-meta-info">
                                    推荐场景: <span class="date-season">文化体验</span>
                                </div>
                            </div>
                            
                            <div class="date-details">
                                <div class="date-duration">2小时</div>
                                <div class="date-budget">¥180-320</div>
                            </div>
                        </div>
                        
                        <div class="date-body">
                            <div class="date-title">
                                <a href="#">
                                    <span class="date-type type-romantic">浪漫</span>
                                    <span class="date-type type-cultural">文化</span>
                                    室内乐音乐会
                                </a>
                            </div>
                            
                            <p class="date-description">
                                在百年历史的音乐厅欣赏室内乐演奏，精选莫扎特、贝多芬等作曲家的浪漫作品。小巧精致的演奏厅营造出温馨私密的氛围，中场休息时可在休息室享用免费饮品，交流聆听感受。
                            </p>
                            
                            <div class="date-highlights">
                                <span class="highlight-item">古典音乐</span>
                                <span class="highlight-item">音乐厅导览</span>
                                <span class="highlight-item">免费饮品</span>
                            </div>
                            
                            <div class="date-features">
                                <div class="feature-item">
                                    <i class="fas fa-map-marker-alt"></i>
                                    <span>城市音乐厅</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-clock"></i>
                                    <span>19:30 - 21:30</span>
                                </div>
                                <div class="feature-item">
                                    <i class="fas fa-star"></i>
                                    <span>4.7分 (156评价)</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="date-actions">
                            <div class="action-counts">
                                <div class="count-item">
                                    <i class="fas fa-check-circle"></i>
                                    <span>187人尝试</span>
                                </div>
                                <div class="count-item">
                                    <i class="far fa-heart"></i>
                                    <span>452收藏</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary">保存方案</button>
                                <button class="btn btn-outline">分享</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 休闲约会 - 带四张图片的活动 -->
        <section>
            <h2 class="section-heading">
                <i class="fas fa-coffee"></i> 休闲约会
            </h2>
            <p class="section-description">轻松自在的约会方式，适合日常相处或初次见面</p>
            
            <div class="date-card">
                <div class="date-images">
                    <div class="multiple-images four-images">
                        <img src="https://picsum.photos/600/600?random=61" alt="艺术区街道">
                        <img src="https://picsum.photos/600/600?random=62" alt="特色咖啡馆">
                        <img src="https://picsum.photos/600/600?random=63" alt="手工艺品店">
                        <img src="https://picsum.photos/600/600?random=64" alt="街头表演">
                    </div>
                </div>
                
                <div class="date-content">
                    <div class="date-header">
                        <div class="date-meta">
                            <div class="date-icon">
                                <i class="fas fa-walking"></i>
                            </div>
                            <div class="date-meta-info">
                                <span class="date-season">艺术区探索</span>
                            </div>
                        </div>
                        
                        <div class="date-details">
                            <div class="date-duration">3-4小时</div>
                            <div class="date-budget">¥150-300</div>
                        </div>
                    </div>
                    
                    <div class="date-body">
                        <div class="date-title">
                            <a href="#">
                                <span class="date-type type-casual">休闲</span>
                                <span class="date-type type-cultural">文化</span>
                                艺术区漫步与咖啡时光
                            </a>
                        </div>
                        
                        <p class="date-description">
                            在充满文艺气息的艺术区一起探索特色小店、画廊和工作室，欣赏街头艺术表演。中午可在创意餐厅享用特色午餐，下午找一家安静的咖啡馆，点两杯咖啡聊聊天，了解彼此的兴趣爱好。轻松自在的氛围有助于自然交流，适合初次约会或日常相处。
                        </p>
                        
                        <div class="date-highlights">
                            <span class="highlight-item">自由节奏</span>
                            <span class="highlight-item">文艺氛围</span>
                            <span class="highlight-item">轻松交流</span>
                            <span class="highlight-item">拍照打卡</span>
                        </div>
                        
                        <div class="date-features">
                            <div class="feature-item">
                                <i class="fas fa-map-marker-alt"></i>
                                <span>798艺术区</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-clock"></i>
                                <span>11:00 - 16:00</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-umbrella"></i>
                                <span>室内外结合</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-star"></i>
                                <span>4.6分 (327评价)</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="date-actions">
                        <div class="action-counts">
                            <div class="count-item">
                                <i class="fas fa-check-circle"></i>
                                <span>842人尝试</span>
                            </div>
                            <div class="count-item">
                                <i class="far fa-heart"></i>
                                <span>1563收藏</span>
                            </div>
                        </div>
                        
                        <div class="action-buttons">
                            <button class="btn btn-primary">保存方案</button>
                            <button class="btn btn-outline">分享</button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 冒险约会 -->
        <section>
            <h2 class="section-heading">
                <i class="fas fa-hiking"></i> 冒险约会
            </h2>
            <p class="section-description">充满活力和挑战，适合喜欢共同冒险的情侣</p>
            
            <div class="row">
                <!-- 左侧活动 -->
                <div class="col-md-6">
                    <div class="date-card">
                        <div class="date-images">
                            <div class="single-image">
                                <img src="https://picsum.photos/600/400?random=71" alt="双人皮划艇">
                            </div>
                        </div>
                        
                        <div class="date-content">
                            <div class="date-header">
                                <div class="date-meta">
                                    <div class="date-icon">
                                        <i class="fas fa-ship"></i>
                                    </div>
                                    <div class="date-meta-info">
                                        <span class="date-season">水上活动</span>
                                    </div>
                                </div>
                                
                                <div class="date-details">
                                    <div class="date-duration">2小时</div>
                                    <div class="date-budget">¥200-350</div>
                                </div>
                            </div>
                            
                            <div class="date-body">
                                <div class="date-title">
                                    <a href="#">
                                        <span class="date-type type-adventure">冒险</span>
                                        双人皮划艇探索之旅
                                    </a>
                                </div>
                                
                                <p class="date-description">
                                    在平静的湖面上一起划皮划艇，欣赏湖光山色。专业教练会进行简单培训，即使没有经验也能轻松上手。两人配合划行的过程能增进默契，中途可停靠小岛休息，享受自然风光。
                                </p>
                                
                                <div class="date-highlights">
                                    <span class="highlight-item">团队协作</span>
                                    <span class="highlight-item">自然风光</span>
                                    <span class="highlight-item">新手友好</span>
                                </div>
                                
                                <div class="date-features">
                                    <div class="feature-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>湖光山水度假村</span>
                                    </div>
                                    <div class="feature-item">
                                        <i class="fas fa-clock"></i>
                                        <span>09:00 - 17:00</span>
                                    </div>
                                    <div class="feature-item">
                                        <i class="fas fa-star"></i>
                                        <span>4.8分 (215评价)</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="date-actions">
                                <div class="action-counts">
                                    <div class="count-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>426人尝试</span>
                                    </div>
                                    <div class="count-item">
                                        <i class="far fa-heart"></i>
                                        <span>783收藏</span>
                                    </div>
                                </div>
                                
                                <div class="action-buttons">
                                    <button class="btn btn-primary">保存方案</button>
                                    <button class="btn btn-outline">分享</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧活动 -->
                <div class="col-md-6">
                    <div class="date-card no-image">
                        <div class="date-content">
                            <div class="date-header">
                                <div class="date-meta">
                                    <div class="date-icon">
                                        <i class="fas fa-utensils"></i>
                                    </div>
                                    <div class="date-meta-info">
                                        <span class="date-season">互动体验</span>
                                    </div>
                                </div>
                                
                                <div class="date-details">
                                    <div class="date-duration">3小时</div>
                                    <div class="date-budget">¥300-500</div>
                                </div>
                            </div>
                            
                            <div class="date-body">
                                <div class="date-title">
                                    <a href="#">
                                        <span class="date-type type-adventure">冒险</span>
                                        <span class="date-type type-casual">休闲</span>
                                        双人厨艺挑战赛
                                    </a>
                                </div>
                                
                                <p class="date-description">
                                    在专业厨房中，两人一组合作完成指定菜品的制作。有专业厨师指导，从食材处理到烹饪技巧都会详细讲解。完成后可品尝自己制作的美食，并获得评分和建议。这是一个充满乐趣和互动的体验，能看到彼此不同的一面。
                                </p>
                                
                                <div class="date-highlights">
                                    <span class="highlight-item">互动协作</span>
                                    <span class="highlight-item">美食体验</span>
                                    <span class="highlight-item">技能学习</span>
                                </div>
                                
                                <div class="date-features">
                                    <div class="feature-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>味觉实验室</span>
                                    </div>
                                    <div class="feature-item">
                                        <i class="fas fa-clock"></i>
                                        <span>14:00 - 17:00 / 19:00 - 22:00</span>
                                    </div>
                                    <div class="feature-item">
                                        <i class="fas fa-star"></i>
                                        <span>4.9分 (328评价)</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="date-actions">
                                <div class="action-counts">
                                    <div class="count-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>654人尝试</span>
                                    </div>
                                    <div class="count-item">
                                        <i class="far fa-heart"></i>
                                        <span>1129收藏</span>
                                    </div>
                                </div>
                                
                                <div class="action-buttons">
                                    <button class="btn btn-primary">保存方案</button>
                                    <button class="btn btn-outline">分享</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视图切换功能
            const gridViewBtn = document.getElementById('grid-view-btn');
            const listViewBtn = document.getElementById('list-view-btn');
            const datesContainer = document.getElementById('dates-container');
            
            gridViewBtn.addEventListener('click', function() {
                datesContainer.classList.remove('list-view');
                datesContainer.classList.add('grid-view');
                gridViewBtn.classList.add('active');
                listViewBtn.classList.remove('active');
            });
            
            listViewBtn.addEventListener('click', function() {
                datesContainer.classList.remove('grid-view');
                datesContainer.classList.add('list-view');
                listViewBtn.classList.add('active');
                gridViewBtn.classList.remove('active');
            });
            
            // 保存方案按钮交互
            const saveButtons = document.querySelectorAll('.btn-primary');
            saveButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const originalText = this.textContent;
                    this.textContent = '已保存';
                    this.style.backgroundColor = '#10b981';
                    
                    // 更新收藏数
                    const dateCard = this.closest('.date-card');
                    const countItem = dateCard.querySelector('.count-item .far.fa-heart').parentElement;
                    if (countItem) {
                        let countText = countItem.textContent;
                        let count = parseInt(countText.match(/\d+/)[0]);
                        countItem.innerHTML = `<i class="fas fa-heart"></i><span>${count + 1}收藏</span>`;
                    }
                    
                    // 添加保存成功提示
                    const notification = document.createElement('div');
                    notification.style.position = 'fixed';
                    notification.style.bottom = '20px';
                    notification.style.right = '20px';
                    notification.style.backgroundColor = '#10b981';
                    notification.style.color = 'white';
                    notification.style.padding = '0.75rem 1.25rem';
                    notification.style.borderRadius = '6px';
                    notification.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.1)';
                    notification.style.zIndex = '1000';
                    notification.style.transition = 'all 0.3s ease';
                    notification.textContent = '约会方案已保存！';
                    
                    document.body.appendChild(notification);
                    
                    // 3秒后移除提示
                    setTimeout(() => {
                        notification.style.opacity = '0';
                        setTimeout(() => {
                            document.body.removeChild(notification);
                        }, 300);
                    }, 3000);
                });
            });
            
            // 收藏功能
            const favoriteIcons = document.querySelectorAll('.count-item .far.fa-heart');
            favoriteIcons.forEach(icon => {
                icon.addEventListener('click', function(e) {
                    e.stopPropagation();
                    this.classList.toggle('far');
                    this.classList.toggle('fas');
                    this.style.color = this.classList.contains('fas') ? '#d946ef' : '';
                    
                    // 更新收藏数
                    const countItem = this.parentElement;
                    let countText = countItem.textContent;
                    let count = parseInt(countText.match(/\d+/)[0]);
                    
                    if (this.classList.contains('fas')) {
                        countItem.innerHTML = `<i class="fas fa-heart"></i><span>${count + 1}收藏</span>`;
                    } else {
                        countItem.innerHTML = `<i class="far fa-heart"></i><span>${count - 1}收藏</span>`;
                    }
                });
            });
            
            // 图片点击放大
            const dateImages = document.querySelectorAll('.date-images img');
            dateImages.forEach(image => {
                image.addEventListener('click', function() {
                    // 创建全屏查看的模态框
                    const modal = document.createElement('div');
                    modal.style.position = 'fixed';
                    modal.style.top = '0';
                    modal.style.left = '0';
                    modal.style.width = '100%';
                    modal.style.height = '100%';
                    modal.style.backgroundColor = 'rgba(0, 0, 0, 0.9)';
                    modal.style.display = 'flex';
                    modal.style.alignItems = 'center';
                    modal.style.justifyContent = 'center';
                    modal.style.zIndex = '1000';
                    modal.style.cursor = 'zoom-out';
                    
                    const imgClone = this.cloneNode(true);
                    imgClone.style.maxWidth = '90%';
                    imgClone.style.maxHeight = '90%';
                    imgClone.style.objectFit = 'contain';
                    
                    modal.appendChild(imgClone);
                    document.body.appendChild(modal);
                    
                    // 点击模态框关闭
                    modal.addEventListener('click', function() {
                        document.body.removeChild(modal);
                    });
                });
            });
        });
    </script>
</body>
</html>
    
